<?php
namespace app\admin\model;

use think\Model;

class Product extends Model
{
	public function archive()
	{
		//用法：belongsTo('关联模型','外键','关联表主键');
		return $this->belongsTo('Archive');
	}
}